import singleElement from "./single";

const calendar = document.querySelector('.calendar');
const monthButton = document.querySelector('.month')

const createMonthPanelTop = () => {
    const main = document.createElement('main');
    main.innerHTML = `<ul class="day-line">
                        <li>日</li>
                        <li>一</li>
                        <li>二</li>
                        <li>三</li>
                        <li>四</li>
                        <li>五</li>
                        <li>六</li>
                    </ul>`
                    
    main.style.display = 'block';
    monthButton.classList.add('monthInit');
    calendar.appendChild(main);
    return main;
}
const createSingleMonthPanelTop = singleElement(createMonthPanelTop);
export {createSingleMonthPanelTop}